#include"Operation.h"
#include"Operation_Rf1.h"
#include"Operation_Rf2.h"

#include"OperationNum.h"
#include"OperationAdd.h"
#include"OperationSub.h"
#include<iostream>

using namespace std;
int main()
{
	/*Operation op('+', 3,2);
	cout<<op.Caculation()<<endl;*/
	
	//Operation_Rf1 op('+', 3,2);
	//cout<<op.Caculation()<<endl;

	//Operation_Rf2 op('+', 3,2);
	//cout<<op.Caculation()<<endl;

	OperationNum op(3,2);
	IMergeNums *pMergeNums = new OperationSub();
	op.SetMergerNums(pMergeNums);
	bool b = false;
	cout<<op.Caculation(b)<<endl;

	delete pMergeNums;
	cin.get();
	return 0;
}